import { IRouteMetaConfig } from 'vue3-common/types'

export const metaList: IRouteMetaConfig = {
  '/dashboard': {
    title: '总览',
    icon: 'admin-dashboard',
    order: 1,
    redirect: '/dashboard/index'
  },
  '/dashboard/index': {
    title: '首页',
    icon: 'admin-dashboard'
  },
  '/blog': {
    title: '博客管理',
    icon: 'admin-blog',
    order: 2,
    redirect: '/blog/article'
  },
  '/blog/article': {
    title: '文章管理',
    icon: 'admin-blogArticle'
  },
  '/blog/category': {
    title: '类别管理',
    icon: 'admin-blogCategory'
  },
  '/blog/detail/:id': {
    title: '',
    icon: '',
    hidden: true
  },
  '/blog/preview/:id': {
    title: '',
    icon: '',
    hidden: true
  },
  '/monitor': {
    title: '监控管理',
    icon: 'admin-blogVisit',
    order: 3,
    redirect: '/monitor/visit'
  },
  '/monitor/visit': {
    title: '监控管理',
    icon: ''
  }
}
